<%@ include file="/WEB-INF/views/utils/includes.jsp" %>
<gf:layout>
	<gf:form>
	  <tu:i18n value="label.manifest.item.description"/>:<gf:input value="${item.description}" path="description" required="true"/><br>
	  <tu:i18n value="label.manifest.item.qty"/>:<gf:input value="${item.quantity}" path="quantity" required="true" regexValidation="^\\d+$"/><br>
	  <tu:i18n value="label.manifest.item.unit"/>:<gf:input value="${item.unit}" path="unit" required="true"/><br>
	  <tu:i18n value="label.manifest.item.unitPrice"/>:<gf:input value="${item.unitPrice}" path="unitPrice" required="true" regexValidation="^\\d+([\\.|,]\\d+)?$"/><br>
	  <tu:i18n value="label.manifest.item.docReference"/>:<gf:input value="${item.docReference}" path="docReference"/><br>
	  <br>
	  <br>
	  <c:if test="${action != null}">
	  	<button type="submit" name="action" value="${action}"><tu:i18n value="action.${action}"/></button>
	  </c:if>
	  <gf:link url="/manifest/${item.manifestId}"><tu:i18n value="link.goto.manifest"/></gf:link>
	</gf:form>
</gf:layout>